package com.lovo.homework7_14ATM;

public class Users {
    private String userName;
    private String userPassWord;
    private int money;

    public Users() {
    }

    public Users(String userName, String userPassWord, int money) {
        this.userName = userName;
        this.userPassWord = userPassWord;
        this.money = money;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassWord() {
        return userPassWord;
    }

    public void setUserPassWord(String userPassWord) {
        this.userPassWord = userPassWord;
    }

    public int getMoney() {
        return money;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + userName + '\'' +
                ", age=" + userPassWord +
                ", gender='" + money + '\'' +
                '}';
    }

    public void setMoney(int money) {
        this.money = money;
    }
}
